package org.crud4j.core;

/**
 * This exception is thrown when the annotated class has an expression that
 * can't be evaluated.
 */
public class UnableToEvaluateLabelException extends RuntimeException {

	private String expression;

	private Class type;

	public UnableToEvaluateLabelException(String expression, Class type, Exception e) {
		super(e);
		this.expression = expression;
		this.type = type;
	}

}
